#ifndef LOGGER_SINGLETON_H
#define LOGGER_SINGLETON_H

//#include <spdlog/spdlog.h>
//#include <spdlog/sinks/daily_file_sink.h>
//#include <spdlog/async.h>
//#include <memory>

class LoggerSingleton {
public:
    // 获取单例实例的静态方法
    static LoggerSingleton& getInstance();

    // 获取日志记录器的方法
//    std::shared_ptr<spdlog::logger> getLogger();

private:
    LoggerSingleton();
    ~LoggerSingleton();

    LoggerSingleton(const LoggerSingleton&) = delete;
    LoggerSingleton& operator=(const LoggerSingleton&) = delete;

    // 存储日志记录器的指针
//    std::shared_ptr<spdlog::logger> logger;
};

#endif // LOGGER_SINGLETON_H
